import http from '@/utils/request'
import type { ILogin, result } from '@/types'
// 后台登录
export const loginApi = (params: ILogin): Promise<result> => {
    return http.post('/user/login', params)
}
